SkyVerge\WooCommerce\Facebook\Products D

Total Complexity 195
Dependencies 11
Dependents 13
Total lines 1,305
Lines of code 565
Logical lines of code 322
Comment lines 436
Methods 39
Properties 2

Methods 39

Method Rating Maintainability Complexity Lines of code
get_google_product_category_id_from_highest_category()
B
41 18 56
published_product_should_be_synced()
A
54 13 18
get_enhanced_catalog_attribute()
A
49 10 30
get_product_price()
A
55 9 16
get_ordered_categories_for_product()
A
50 8 29
get_product_color_attribute()
A
54 8 21
disable_sync_for_products_with_terms()
A
50 7 31
get_meta_value_from_categories_for_product()
S
54 7 22
get_product_size_attribute()
S
54 7 21
get_product_pattern_attribute()
S
54 7 21
is_product_visible()
S
54 7 20
is_sync_excluded_for_product_terms()
S
59 7 13
set_sync_for_products()
S
55 6 20
is_sync_enabled_for_product()
S
56 6 18
get_product_by_fb_product_id()
S
53 5 26
get_google_product_category_id()
S
58 5 15
get_product_size()
S
60 5 12
get_product_color()
S
60 5 12
get_product_pattern()
S
60 5 12
update_product_size_attribute()
S
62 5 10
update_product_pattern_attribute()
S
62 5 10
update_product_color_attribute()
S
62 5 10
get_product_gender()
S
60 4 12
is_product_ready_for_commerce()
S
71 4 6
get_available_product_attributes()
S
67 3 7
product_has_attribute()
S
64 3 10
get_product_by_fb_retailer_id()
S
63 3 9
is_commerce_enabled_for_product()
S
69 3 6
get_enhanced_catalog_attributes_from_request()
S
54 1 22
set_product_visibility()
S
63 2 10
product_should_be_deleted()
S
77 2 3
update_product_enhanced_catalog_attribute()
S
68 2 7
product_should_be_synced()
S
78 2 3
update_product_gender()
S
76 1 4
enable_sync_for_products()
S
79 1 3
update_commerce_enabled_for_product()
S
75 1 4
get_distinct_product_attributes()
S
67 1 9
disable_sync_for_products()
S
79 1 3
update_google_product_category_id()
S
76 1 4